﻿using System;
using System.Collections.Generic;
using System.Text;
using Discuz.Forum.ScheduledEvents;
using Discuz.Forum;
using Discuz.Plugin.Sign;

namespace Discuz.Plugin.Sign
{
   public class SignSettingEvent:IEvent

    {

        #region IEvent 成员

        public void Execute(object state)
        {
            //整理相关主题表
            //Topics.NeatenRelateTopics();
            SignRecordSetting srs=new SignRecordSetting();
            srs.SignStartTime = DateTime.Now;
            srs.IsOpen = 1;
            //DbUtil.BLL.GetList<
            //DbUtil.BLL.ExecuteNonQuery("update dnt_signrecordsettings set isopen=0 where isopen=1");
            DbUtil.BLL.Insert(srs);

        }

        #endregion
    }
}
